Source for file LC_Upgrade_Helper_Json.php
Documentation is available at LC_Upgrade_Helper_Json.php
require_once DATA_PATH .
'module/Services/JSON.php';
* Enter description here...
* Enter description here...
* @return SC_Upgrade_Helper_Json
* Enter description here...
if ($this->arrData['status'] ===
OSTORE_STATUS_SUCCESS) {
* Enter description here...
* @param unknown_type $errCode
* @param unknown_type $errMessage
$arrOStoreErrMsg =
$masterData->getMasterData("mtb_ownersstore_err");
$this->arrData['status'] =
OSTORE_STATUS_ERROR;
$this->arrData['errcode'] =
$errCode;
$this->arrData['msg'] = isset
($arrOStoreErrMsg[$errCode])
?
$arrOStoreErrMsg[$errCode]
:
$arrOStoreErrMsg[OSTORE_E_UNKNOWN];
* Enter description here...
$this->arrData['status'] =
OSTORE_STATUS_SUCCESS;
* Enter description here...
header("Content-Type: text/javascript; charset=UTF-8");
echo
$this->encode($this->arrData);
* php5.2.0からpreg_match関数に渡せるデータ長に制限がある(?)ため,
* Services_JSONが正常に動作しなくなる.
* そのため5.2.0以上の場合は組み込み関数のjson_decode()を使用する.
return parent::decode($str);
Documentation generated on Tue, 28 Apr 2009 18:13:04 +0900 by phpDocumentor 1.4.2